//
//  ShopAddViewCtrl.h
//  howcan
//
//  Created by apple on 4/14/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BasicItem.h"
#import "BasicTableViewCtrl.h"

@interface ShopAddViewCtrl : BasicTableViewCtrl <UITextFieldDelegate,UIPickerViewDelegate,UIActionSheetDelegate> {
	NSMutableArray *inputTexts;
	UIActionSheet *actionSheet;
	UIPickerView *thePickerView;
	NSMutableArray *allPickers;
	NSMutableArray *mainPickers;
	NSMutableArray *detailPickers;
	
	int mainPicker_id;
	int detailPicker_id;

	NSMutableArray *areas;
	NSMutableArray *categorys;
	
	int mainArea_id;
	int detailArea_id;

	int mainCategory_id;
	int detailCategory_id;
	
	int pickviewtype;
    float shop_lat;
    float shop_lng;
	
	NSMutableDictionary *api2gets;

}

@property(nonatomic,retain)NSMutableDictionary *api2gets;
@property(nonatomic,retain)NSMutableArray *inputTexts;
@property(nonatomic,retain)UIPickerView *thePickerView;
@property(nonatomic,retain)UIActionSheet *actionSheet;
@property(nonatomic,retain)NSMutableArray *allPickers;
@property(nonatomic,retain)NSMutableArray *mainPickers;
@property(nonatomic,retain)NSMutableArray *detailPickers;
@property(nonatomic,retain)NSMutableArray *areas;
@property(nonatomic,retain)NSMutableArray *categorys;
@property float shop_lat,shop_lng;

/*数据下载完毕 */
-(void)  completedCallback:(NSArray *) data;

@end
